<template>
  <div class="container">
    <div class="area1">
      <div class="input">
        <div id="i">
          <el-input id="e" v-model="input" placeholder="Please input" clearable />
        </div>
        <el-button id="f" type="primary" @click="handleSearch">搜索</el-button>
      </div>
    </div>
    <div class="area2">
      <div id="g">
      <p>
        1.
        <span>
            症状:时间:月经前,疼痛性质:胀痛,按压感觉:喜按,月经量:undefined,月经颜色:undefined,质地:质稠，伴随症状:小便清长]	
            <p class="ma">
              疗法：党参15g黄民30g当归12g川营15q熟地15g黄精15g白对15g香附15g元胡5g鸡血藤30g小面香15g乌药15g苑丝子20g续断15g晕寄生30g
            </p>
        </span>
      </p>
      <p>
        3.
        <span>
          症状:xxxxx
            <p class="ma">
              疗法:党参15g黄民30g当归12g川营15q熟地15g黄精15g白对15g香
            </p>
        </span>
      </p>
      <p>
        3.
        <span>
          症状:xxxxx
            <p class="ma">
              疗法:党参15g黄民30g当归12g川营15q熟地15g黄精15g白对15g香附15g元胡
            </p>
        </span>
      </p>
      <p>
        4.
        <span>
          症状:xxxxx
            <p class="ma">
              疗法:5党参15g黄民30g当归12g川营15q熟地15g黄精15g白对15g香附15g元胡
            </p>
        </span>
      </p>
      <p>
        5.
        <span>
          症状:xxxxx
            <p class="ma">
              疗法:党参15g黄民30g当归12g川营15q熟地15g黄精15g白对15g香附15g元胡5g鸡血藤30g小面香15g乌药15g苑丝子20g续断15g晕寄生30g
            </p>
        </span>
      </p>
      </div>
    </div>
  </div>
</template>

<script setup>
import { ref } from 'vue'
const input = ref('')
</script>

<style>
.input {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  
}
.ma{
  margin-left: 18px;
}
#i {
  width: 500px;

}
.area1{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 200px;
  background-color: blanchedalmond;
}
.area2{
  margin: 200px ;
  background-color: hsl(210, 30%, 96%);
  border-top: 2px solid rgb(213, 226, 239);
}
#e{
  height: 50px;
}
#f{
  height: 50px;
}
</style>
